import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import Category from './category/index.vue'

const globalComponent: any = { Category }
export default {
  install(app: any) {
    Object.keys(globalComponent).forEach((key) => {
      app.component(key, globalComponent[key])
    })
    for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
      app.component(key, component)
    }
  }
}
